home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Developer University / DUProjects / Calc / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-03-09  |  1.5 KB  |  50 lines  |  [TEXT/CWIE]

  1. //    Copyright:    © 1996 by Apple Computer, Inc., All rights reserved.
  2. //    Release Version:    $ ODF 1 $
  3.  
  4. #ifndef DEFINES_K
  5. #define DEFINES_K
  6.  
  7. // Uncomment the following three lines, and define them appropriately!!
  8. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  9. // to be 1.  Otherwise define it to be 0.
  10. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  11. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  12. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  13. // define it to be zero.  Note that if your part is scriptable is must support
  14. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  15.  
  16. #define FW_SUPPORTS_EMBEDDING 0
  17. #define FW_SUPPORTS_EXTENSIONS 0
  18. #define FW_SUPPORTS_SCRIPTING 0
  19.  
  20. //===================================================
  21. // PICT ID
  22. #define kODFpictResID          2000
  23.  
  24. // other
  25. #define kPartIconID     128
  26. #define kAbout            1024
  27. #define kPartInfoID        1024
  28.  
  29. //-------------------------------------------------------------------------------------
  30. //     Views
  31. #define kCalcView            1024
  32.  
  33. #define kAmountStaticID         1
  34. #define kInterestStaticID         2
  35. #define kYearsStaticID             3
  36. #define kAmountEditID             4
  37. #define kInterestEditID         5
  38. #define kYearsEditID             6
  39. #define kCalculateButtonID         7
  40. #define kAnswerEditID             8
  41.  
  42. //-------------------------------------------------------------------------------------
  43. #ifdef FW_BUILD_MAC
  44.     #define kFormPict1            130
  45. #endif
  46.  
  47. //===================================================
  48. #endif
  49.  
  50.